// This file was decompiled using VCSCM.ini published on 2021-01-30
{$CLEO .cs}

0000: NOP 
03A4: script_name 'HP_CRCR' 
0006: 12@ = 0 // @ = int 
0006: 15@ = 0 // @ = int 
0006: TIMERA = 0 // @ = int 

:HP_CRCR_33
0001: wait 0 ms 
00D6: if 
0039:   12@ == 0 // @ == int 
004D: jump_if_false @HP_CRCR_88 
00D6: if 
0019:   TIMERA > 3000 // @ > int 
004D: jump_if_false @HP_CRCR_88 
0006: 12@ = 1 // @ = int 
0006: 15@ = 0 // @ = int 

:HP_CRCR_88
00D6: if and
0256:   player $player_char defined 
00E0:   player $player_char in_any_car 
847E:   not player $player_char on_any_bike 
84C9:   not player $player_char in_flying_vehicle 
84A8:   not player $player_char in_any_boat 
84AA:   not player $player_char in_any_heli 
004D: jump_if_false @HP_CRCR_33 
03C1: 10@ = player $player_char car_no_save 
00D6: if and
82BF:   not car 10@ sunk 
81F3:   not car 10@ airborne 
004D: jump_if_false @HP_CRCR_33 
00D6: if 
820D:   not car 10@ flipped 
004D: jump_if_false @HP_CRCR_181 
0002: jump @HP_CRCR_286 

:HP_CRCR_181
05E7: 0@ = vehicle 10@ struct 
0085: 1@ = 0@ // @ = @ int 
000A: 0@ += 12 // @ += int 
000A: 1@ += 28 // @ += int 
05E0: 3@ = read_memory 0@ size 4 virtual_protect 0 
05E0: 4@ = read_memory 1@ size 4 virtual_protect 0 
00D6: if or
0021:   3@ > 0.7 // @ > float 
0023:   -0.7 > 3@ // float > @ 
0021:   4@ > 0.7 // @ > float 
0023:   -0.7 > 4@ // float > @ 
004D: jump_if_false @HP_CRCR_33 

:HP_CRCR_286
02E3: 11@ = car 10@ speed 
00D6: if and
0021:   11@ > 6.0 // @ > float 
0023:   96.0 > 11@ // float > @ 
004D: jump_if_false @HP_CRCR_33 
05E7: 4@ = vehicle 10@ struct 
0085: 5@ = 4@ // @ = @ int 
000A: 4@ += 112 // @ += int 
000A: 5@ += 116 // @ += int 
05E0: 4@ = read_memory 4@ size 4 virtual_protect 0 
05E0: 5@ = read_memory 5@ size 4 virtual_protect 0 
0087: 6@ = 5@ // @ = @ float 
0087: 7@ = 4@ // @ = @ float 
0087: 8@ = 5@ // @ = @ float 
006B: 7@ *= 7@ // @ *= @ float 
006B: 8@ *= 8@ // @ *= @ float 
005B: 7@ += 8@ // @ += @ float 
01FB: 7@ = square_root 7@ 
0073: 6@ /= 7@ // @ /= @ float 
0007: 7@ = 1.0 // @ = float 
0087: 8@ = 6@ // @ = @ float 
006B: 8@ *= 8@ // @ *= @ float 
0063: 7@ -= 8@ // @ -= @ float 
01FB: 7@ = square_root 7@ 
00D6: if 
0023:   0.0 > 4@ // float > @ 
004D: jump_if_false @HP_CRCR_516 
0013: 7@ *= -1.0 // @ *= float 

:HP_CRCR_516
05E7: 0@ = vehicle 10@ struct 
0085: 1@ = 0@ // @ = @ int 
0085: 2@ = 0@ // @ = @ int 
000A: 0@ += 124 // @ += int 
000A: 1@ += 128 // @ += int 
000A: 2@ += 132 // @ += int 
05E0: 3@ = read_memory 0@ size 4 virtual_protect 0 
05E0: 4@ = read_memory 1@ size 4 virtual_protect 0 
05E0: 5@ = read_memory 2@ size 4 virtual_protect 0 
02E3: 11@ = car 10@ speed 
00D6: if and
0023:   0.2 > 3@ // float > @ 
0023:   0.2 > 4@ // float > @ 
0023:   0.2 > 5@ // float > @ 
0021:   3@ > -0.2 // @ > float 
0021:   4@ > -0.2 // @ > float 
0021:   5@ > -0.2 // @ > float 
004D: jump_if_false @HP_CRCR_2244 
0006: TIMERA = 0 // @ = int 
00D6: if and
0039:   12@ == 0 // @ == int 
001B:   29 > 15@ // int > @ 
004D: jump_if_false @HP_CRCR_724 
000A: 15@ += 1 // @ += int 
0002: jump @HP_CRCR_1050 

:HP_CRCR_724
0089: 9@ = 11@ // @ = $ float 
00D6: if 
0021:   9@ > 14.0 // @ > float 
004D: jump_if_false @HP_CRCR_1036 
0017: 9@ /= 200.0 // @ /= float 
00D6: if 
0039:   12@ == 0 // @ == int 
004D: jump_if_false @HP_CRCR_791 
0017: 9@ /= 2.0 // @ /= float 

:HP_CRCR_791
05E7: 8@ = vehicle 10@ struct 
000A: 8@ += 120 // @ += int 
05E0: 8@ = read_memory 8@ size 4 virtual_protect 0 
005B: 8@ += 9@ // @ += @ float 
05E7: 9@ = vehicle 10@ struct 
000A: 9@ += 120 // @ += int 
05DF: write_memory 9@ size 4 value 8@ virtual_protect 0 
0006: 12@ = 0 // @ = int 
0006: 15@ = 0 // @ = int 
0089: 13@ = 11@ // @ = $ float 
00D6: if 
0023:   40.0 > 13@ // float > @ 
004D: jump_if_false @HP_CRCR_973 
0017: 13@ /= 30.0 // @ /= float 
006B: 3@ *= 13@ // @ *= @ float 
006B: 4@ *= 13@ // @ *= @ float 
006B: 5@ *= 13@ // @ *= @ float 
0017: 13@ /= 60.0 // @ /= float 
006B: 7@ *= 13@ // @ *= @ float 
0013: 13@ *= -1.0 // @ *= float 
006B: 6@ *= 13@ // @ *= @ float 
0002: jump @HP_CRCR_1239 

:HP_CRCR_973
0013: 7@ *= 0.1 // @ *= float 
0013: 6@ *= -0.1 // @ *= float 
0017: 13@ /= 200.0 // @ /= float 
0007: 8@ = 1.0 // @ = float 
005B: 8@ += 13@ // @ += @ float 
006B: 5@ *= 8@ // @ *= @ float 
0002: jump @HP_CRCR_1239 

:HP_CRCR_1036
0006: 12@ = 0 // @ = int 
0006: 15@ = 0 // @ = int 

:HP_CRCR_1050
0013: 7@ *= 0.1 // @ *= float 
0013: 6@ *= -0.1 // @ *= float 
0089: 8@ = 11@ // @ = $ float 
0017: 8@ /= 100.0 // @ /= float 
006B: 7@ *= 8@ // @ *= @ float 
006B: 6@ *= 8@ // @ *= @ float 
0007: 8@ = 0.1 // @ = float 
0097: make 8@ absolute_float 
0013: 8@ *= 0.3 // @ *= float 
0007: 9@ = 0.5 // @ = float 
0063: 9@ -= 8@ // @ -= @ float 
006B: 7@ *= 9@ // @ *= @ float 
006B: 6@ *= 9@ // @ *= @ float 
05E7: 8@ = vehicle 10@ struct 
000A: 8@ += 28 // @ += int 
05E0: 8@ = read_memory 8@ size 4 virtual_protect 0 
0097: make 8@ absolute_float 
0013: 8@ *= 0.5 // @ *= float 
0007: 9@ = 0.7 // @ = float 
0063: 9@ -= 8@ // @ -= @ float 
006B: 7@ *= 9@ // @ *= @ float 
006B: 6@ *= 9@ // @ *= @ float 

:HP_CRCR_1239
005B: 6@ += 3@ // @ += @ float 
005B: 7@ += 4@ // @ += @ float 

:HP_CRCR_1255
00D6: if 
0023:   0.4 > 6@ // float > @ 
004D: jump_if_false @HP_CRCR_1388 
00D6: if 
0023:   0.4 > 7@ // float > @ 
004D: jump_if_false @HP_CRCR_1420 
00D6: if 
0023:   0.3 > 5@ // float > @ 
004D: jump_if_false @HP_CRCR_1452 
00D6: if 
0021:   6@ > -0.4 // @ > float 
004D: jump_if_false @HP_CRCR_1484 
00D6: if 
0021:   7@ > -0.4 // @ > float 
004D: jump_if_false @HP_CRCR_1516 
00D6: if 
0021:   5@ > -0.3 // @ > float 
004D: jump_if_false @HP_CRCR_1548 
0002: jump @HP_CRCR_1580 

:HP_CRCR_1388
0098: 6@ = random_float_in_ranges_0.0_to_1.0 
0013: 6@ *= -0.1 // @ *= float 
000B: 6@ += 0.4 // @ += float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1420
0098: 7@ = random_float_in_ranges_0.0_to_1.0 
0013: 7@ *= -0.1 // @ *= float 
000B: 7@ += 0.4 // @ += float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1452
0098: 5@ = random_float_in_ranges_0.0_to_1.0 
0013: 5@ *= -0.1 // @ *= float 
000B: 5@ += 0.3 // @ += float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1484
0098: 6@ = random_float_in_ranges_0.0_to_1.0 
0013: 6@ *= 0.1 // @ *= float 
000F: 6@ -= 0.4 // @ -= float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1516
0098: 7@ = random_float_in_ranges_0.0_to_1.0 
0013: 7@ *= 0.1 // @ *= float 
000F: 7@ -= 0.4 // @ -= float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1548
0098: 5@ = random_float_in_ranges_0.0_to_1.0 
0013: 5@ *= 0.1 // @ *= float 
000F: 5@ -= 0.3 // @ -= float 
0002: jump @HP_CRCR_1255 

:HP_CRCR_1580
00D6: if and
80DE:   not player $player_char driving_vehicle_type #FLATBED 
80DE:   not player $player_char driving_vehicle_type #FIRETRUK 
80DE:   not player $player_char driving_vehicle_type #BUS 
80DE:   not player $player_char driving_vehicle_type #RHINO 
80DE:   not player $player_char driving_vehicle_type #PACKER 
80DE:   not player $player_char driving_vehicle_type #BARRACKS 
80DE:   not player $player_char driving_vehicle_type #COACH 
004D: jump_if_false @HP_CRCR_1783 
00D6: if and
80DE:   not player $player_char driving_vehicle_type #TRASH 
80DE:   not player $player_char driving_vehicle_type #ENFORCER 
80DE:   not player $player_char driving_vehicle_type #YANKEE 
80DE:   not player $player_char driving_vehicle_type #LINERUN 
80DE:   not player $player_char driving_vehicle_type #AMBULAN 
004D: jump_if_false @HP_CRCR_1891 
00D6: if and
80DE:   not player $player_char driving_vehicle_type #MRWHOOP 
80DE:   not player $player_char driving_vehicle_type #BELLYUP 
80DE:   not player $player_char driving_vehicle_type #SECURICA 
004D: jump_if_false @HP_CRCR_1999 
00D6: if and
80DE:   not player $player_char driving_vehicle_type #BURRITO 
80DE:   not player $player_char driving_vehicle_type #HOODS 
80DE:   not player $player_char driving_vehicle_type #PONY 
80DE:   not player $player_char driving_vehicle_type #MULE 
004D: jump_if_false @HP_CRCR_2107 
0002: jump @HP_CRCR_2208 

:HP_CRCR_1783
00D6: if or
0021:   6@ > 0.1 // @ > float 
0021:   7@ > 0.1 // @ > float 
0021:   5@ > 0.1 // @ > float 
0023:   -0.1 > 6@ // float > @ 
0023:   -0.1 > 7@ // float > @ 
0023:   -0.1 > 5@ // float > @ 
004D: jump_if_false @HP_CRCR_2208 
0013: 6@ *= 0.6 // @ *= float 
0013: 7@ *= 0.6 // @ *= float 
0013: 5@ *= 0.6 // @ *= float 
0002: jump @HP_CRCR_2208 

:HP_CRCR_1891
00D6: if or
0021:   6@ > 0.1 // @ > float 
0021:   7@ > 0.1 // @ > float 
0021:   5@ > 0.1 // @ > float 
0023:   -0.1 > 6@ // float > @ 
0023:   -0.1 > 7@ // float > @ 
0023:   -0.1 > 5@ // float > @ 
004D: jump_if_false @HP_CRCR_2208 
0013: 6@ *= 0.7 // @ *= float 
0013: 7@ *= 0.7 // @ *= float 
0013: 5@ *= 0.7 // @ *= float 
0002: jump @HP_CRCR_2208 

:HP_CRCR_1999
00D6: if or
0021:   6@ > 0.1 // @ > float 
0021:   7@ > 0.1 // @ > float 
0021:   5@ > 0.1 // @ > float 
0023:   -0.1 > 6@ // float > @ 
0023:   -0.1 > 7@ // float > @ 
0023:   -0.1 > 5@ // float > @ 
004D: jump_if_false @HP_CRCR_2208 
0013: 6@ *= 0.8 // @ *= float 
0013: 7@ *= 0.8 // @ *= float 
0013: 5@ *= 0.8 // @ *= float 
0002: jump @HP_CRCR_2208 

:HP_CRCR_2107
00D6: if or
0021:   6@ > 0.1 // @ > float 
0021:   7@ > 0.1 // @ > float 
0021:   5@ > 0.1 // @ > float 
0023:   -0.1 > 6@ // float > @ 
0023:   -0.1 > 7@ // float > @ 
0023:   -0.1 > 5@ // float > @ 
004D: jump_if_false @HP_CRCR_2208 
0013: 6@ *= 0.9 // @ *= float 
0013: 7@ *= 0.9 // @ *= float 
0013: 5@ *= 0.9 // @ *= float 

:HP_CRCR_2208
05DF: write_memory 0@ size 4 value 6@ virtual_protect 0 
05DF: write_memory 1@ size 4 value 7@ virtual_protect 0 
05DF: write_memory 2@ size 4 value 5@ virtual_protect 0 

:HP_CRCR_2244
020D:   car 10@ flipped 
004D: jump_if_false @HP_CRCR_33 
05F5: cleo_call @HP_CRCR_2276 1 10@ 
0002: jump @HP_CRCR_33 

:HP_CRCR_2276
0209: 1@ = random_int_in_ranges 1 80 
0039:   1@ == 1 // @ == int 
004D: jump_if_false @HP_CRCR_2321 
05F5: cleo_call @HP_CRCR_2434 2 0@ 1 
0002: jump @HP_CRCR_2429 

:HP_CRCR_2321
0039:   1@ == 21 // @ == int 
004D: jump_if_false @HP_CRCR_2357 
05F5: cleo_call @HP_CRCR_2434 2 0@ 2 
0002: jump @HP_CRCR_2429 

:HP_CRCR_2357
0039:   1@ == 41 // @ == int 
004D: jump_if_false @HP_CRCR_2393 
05F5: cleo_call @HP_CRCR_2434 2 0@ 3 
0002: jump @HP_CRCR_2429 

:HP_CRCR_2393
0039:   1@ == 61 // @ == int 
004D: jump_if_false @HP_CRCR_2429 
05F5: cleo_call @HP_CRCR_2434 2 0@ 4 
0002: jump @HP_CRCR_2429 

:HP_CRCR_2429
05F6: cleo_return 0 

:HP_CRCR_2434
0039:   1@ == 1 // @ == int 
004D: jump_if_false @HP_CRCR_2478 
0006: 2@ = 4 // @ = int 
0006: 3@ = 677 // @ = int 
0006: 4@ = 932 // @ = int 
0002: jump @HP_CRCR_2603 

:HP_CRCR_2478
0039:   1@ == 2 // @ == int 
004D: jump_if_false @HP_CRCR_2522 
0006: 2@ = 6 // @ = int 
0006: 3@ = 678 // @ = int 
0006: 4@ = 940 // @ = int 
0002: jump @HP_CRCR_2603 

:HP_CRCR_2522
0039:   1@ == 3 // @ == int 
004D: jump_if_false @HP_CRCR_2566 
0006: 2@ = 1 // @ = int 
0006: 3@ = 679 // @ = int 
0006: 4@ = 920 // @ = int 
0002: jump @HP_CRCR_2603 

:HP_CRCR_2566
0039:   1@ == 4 // @ == int 
004D: jump_if_false @HP_CRCR_2748 
0006: 2@ = 3 // @ = int 
0006: 3@ = 680 // @ = int 
0006: 4@ = 928 // @ = int 

:HP_CRCR_2603  
05E7: 5@ = vehicle 0@ struct 
0085: 6@ = 5@ // @ = @ int 
005A: 5@ += 3@ // @ += @ int 
05DF: write_memory 5@ size 1 value 1 virtual_protect 1 

:HP_CRCR_2748
05F6: cleo_return 0 
